# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
pkgname=py3-manuel
pkgver=1.12.4
pkgrel=1
pkgdesc="mix and match traditional doctests with custom test syntax"
url="https://github.com/benji-york/manuel"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-six"
makedepends="py3-setuptools"
checkdepends="py3-zope-testing"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/benji-york/manuel/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/manuel-$pkgver"
options="!check" # fail matching exact string against newer dep versions

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
e39c93a6be92b2a5c09c461e2341690f670919b9bcb7665771cba0a0a4f6d695e4ad1ae53641f73f8e54b5ad8b4485831b480874936dc2ad17cbc88abfe2935c  py3-manuel-1.12.4.tar.gz
"
